#pragma once
#include "c:\users\thelightsky\desktop\storemanager\storemanager\gridctrl\gridctrl.h"


// CCompanyDlg dialog

class CCompanyDlg : public CDialog
{
	DECLARE_DYNAMIC(CCompanyDlg)

public:
	CCompanyDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~CCompanyDlg();

// Dialog Data
	enum { IDD = IDD_DIA_INFO_COMPANY };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL OnInitDialog();

	DECLARE_MESSAGE_MAP()
public:
	CGridCtrl m_gridFunction;

	afx_msg void OnRightClick(NMHDR *pNMHDR, LRESULT *pResult);
	afx_msg void OnClickUpdate();
	afx_msg void OnUpdateFunction();
	afx_msg void OnClickOK();
	void onNewRowFunction(const CString& sName,const CString& sNote);

	CString m_sNameCmpany;
	CString m_sAddress;
	CString m_sPhone;
	CString m_sTaxCode;
	CString m_sNote;

	bool m_Update;
	CString m_sEmail;
};
